package org.noip.milhous.clause;

import org.noip.milhous.SQLInterface;

public class NotNull extends Utilities implements SQLInterface
{
	public static String NotNullString = " IS NOT NULL ";

	private Object data;

	public NotNull(Object data)
		{
			super();
			this.data = data;
		}

	public String toInternalSQL()
		{
			StringBuffer result = new StringBuffer();
			result.append(getInternal(data));
			result.append(NotNullString);
			return result.toString();
		}

	public String toSQL()
		{
			return toInternalSQL();
		}

}
